package com.journey.api;

import com.journey.common.ServerResponse;
import com.journey.model.User;
import org.springframework.stereotype.Service;

/**
 * Created by ADMIN on 2018/3/15.
 */
public interface IUserService {
    ServerResponse<String> checkLogin(String username, String password);

    ServerResponse<User> regist(String username, String password, String nickname);
}
